<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Board game project: include/BreakthroughGameSmaller.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Board game project
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A Board game software</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">BreakthroughGameSmaller.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef BREAKTHROUGHGAMESMALLER_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define BREAKTHROUGHGAMESMALLER_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;Game.h&gt;</span>
<a name="l00005"></a>00005 
<a name="l00010"></a><a class="code" href="class_breakthrough_game_smaller.html">00010</a> <span class="keyword">class </span><a class="code" href="class_breakthrough_game_smaller.html" title="A BreakthroughGameSmaller class.">BreakthroughGameSmaller</a> : <span class="keyword">public</span> <a class="code" href="class_game.html" title="A Game class.">Game</a>
<a name="l00011"></a>00011 {
<a name="l00012"></a>00012     <span class="keyword">public</span>:
<a name="l00017"></a>00017         <a class="code" href="class_breakthrough_game_smaller.html#ac81d4fa75b0e58212dc7b851951cc89f" title="Breakthrough Smaller constructor.">BreakthroughGameSmaller</a>();
<a name="l00018"></a>00018 
<a name="l00019"></a>00019         <span class="keyword">virtual</span> ~<a class="code" href="class_breakthrough_game_smaller.html" title="A BreakthroughGameSmaller class.">BreakthroughGameSmaller</a>();
<a name="l00020"></a>00020 
<a name="l00025"></a>00025         <span class="keywordtype">void</span> <a class="code" href="class_breakthrough_game_smaller.html#a9971fe6cc105cae3b62c7138cac2e231" title="Set Board.">setBoard</a>();
<a name="l00026"></a>00026 
<a name="l00031"></a>00031         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_breakthrough_game_smaller.html#a6d1f95494ce8e2df7d32e3035acb9f6c" title="Display board.">displayBoard</a>();
<a name="l00032"></a>00032 
<a name="l00037"></a>00037         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_breakthrough_game_smaller.html#afaf83b059166be9faf3597abbcbdbda7" title="Start.">start</a>();
<a name="l00038"></a>00038 
<a name="l00047"></a>00047         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_breakthrough_game_smaller.html#ab39cc839a9e068d6b712727e64fab6b1" title="Move Piece.">movePiece</a>(<span class="keywordtype">int</span> fromX, <span class="keywordtype">int</span> fromY, <span class="keywordtype">int</span> toX, <span class="keywordtype">int</span> toY);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049                 <span class="keyword">using</span> <a class="code" href="class_game.html#a0d3ea96a10483373b8f150e6c310384b" title="Get legal moves.">Game::legal</a>;
<a name="l00050"></a>00050 
<a name="l00057"></a>00057                 <span class="keyword">virtual</span> std::vector&lt;MOVE&gt; <a class="code" href="class_game.html#a0d3ea96a10483373b8f150e6c310384b" title="Get legal moves.">legal</a>(GameBoard state);
<a name="l00058"></a>00058 
<a name="l00065"></a>00065                 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_breakthrough_game_smaller.html#a9ac1fc9672cfa26fbb9075ad0aab5721" title="Winning state.">winningState</a>();
<a name="l00066"></a>00066 
<a name="l00072"></a>00072                 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_breakthrough_game_smaller.html#a8d2f35c3ba41626931bb284ace9890fe" title="Advanced evaluation.">advancedEvaluate</a>();
<a name="l00073"></a>00073     <span class="keyword">protected</span>:
<a name="l00074"></a>00074     <span class="keyword">private</span>:
<a name="l00075"></a>00075 };
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="preprocessor">#endif // BREAKTHROUGHGAMESMALLER_H</span>
</pre></div></div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Sat May 12 2012 03:23:28 for Board game project by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
